<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \DB::table('users')->delete();

        \App\User::insert([
            [
                'name' => 'wubuze',
                'email' => 'wubuze@qq.com',
                'password' => Hash::make('123456'),
            ],
            [
                'name' => 'wbz',
                'email' => 'wbz@qq.com',
                'password' => Hash::make('123456'),
            ],
        ]);

    }
}
